import Vue from 'vue'
import Router from 'vue-router'

import Header from '../../components/Header.vue';
import Menu from '../../components/Menu.vue';
import Content from '../../components/Content.vue';

Vue.use(Router);

export default new Router({
  mode: 'history',
  routes: [
    { path: '*', redirect: '/header'},
    { path: '/header', component: Header},
    { path: '/menu', component: Menu},
    { path: '/content/:menuName', component: Content}
  ]
})


